package com.neusoft.ecommerce.entity;
/**
 * 
 * @author Alouette~
 *
 */

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

public class StockOut extends AbstractToString{
	private Integer stockOutNo;
	//外键
	
	private Goods goods;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date stockOutTime;
	//外键
	
	private Storage storage;
	private Integer stockOutAmount;
	private String handler;
	private String stockOutRemark;
	public StockOut() {
		super();
	}
	public StockOut(Integer stockOutNo, Goods goods, Date stockOutTime, Storage storage, Integer stockOutAmount,
			String handler, String stockOutRemark) {
		super();
		this.stockOutNo = stockOutNo;
		this.goods = goods;
		this.stockOutTime = stockOutTime;
		this.storage = storage;
		this.stockOutAmount = stockOutAmount;
		this.handler = handler;
		this.stockOutRemark = stockOutRemark;
	}
	/**
	 * @return the stockOutNo
	 */
	public Integer getStockOutNo() {
		return stockOutNo;
	}
	/**
	 * @param stockOutNo the stockOutNo to set
	 */
	public void setStockOutNo(Integer stockOutNo) {
		this.stockOutNo = stockOutNo;
	}
	/**
	 * @return the goods
	 */
	public Goods getGoods() {
		return goods;
	}
	/**
	 * @param goods the goods to set
	 */
	public void setGoods(Goods goods) {
		this.goods = goods;
	}
	/**
	 * @return the stockOutTime
	 */
	public Date getStockOutTime() {
		return stockOutTime;
	}
	/**
	 * @param stockOutTime the stockOutTime to set
	 */
	public void setStockOutTime(Date stockOutTime) {
		this.stockOutTime = stockOutTime;
	}
	/**
	 * @return the storage
	 */
	public Storage getStorage() {
		return storage;
	}
	/**
	 * @param storage the storage to set
	 */
	public void setStorage(Storage storage) {
		this.storage = storage;
	}
	/**
	 * @return the stockOutAmount
	 */
	public Integer getStockOutAmount() {
		return stockOutAmount;
	}
	/**
	 * @param stockOutAmount the stockOutAmount to set
	 */
	public void setStockOutAmount(Integer stockOutAmount) {
		this.stockOutAmount = stockOutAmount;
	}
	/**
	 * @return the handler
	 */
	public String getHandler() {
		return handler;
	}
	/**
	 * @param handler the handler to set
	 */
	public void setHandler(String handler) {
		this.handler = handler;
	}
	/**
	 * @return the stockOutRemark
	 */
	public String getStockOutRemark() {
		return stockOutRemark;
	}
	/**
	 * @param stockOutRemark the stockOutRemark to set
	 */
	public void setStockOutRemark(String stockOutRemark) {
		this.stockOutRemark = stockOutRemark;
	}
	
}
